#ifndef HUMANPLAYER_H
#define HUMANPLAYER_H

#include <cmath>

//chess stuff
#include "ChessPlayer.h"
#include "ChessType.h"
#include "ChessManMoveTable.h"

//message stuff
#include "Message.h"
#include "GlobalMessage.h"
#include "MouseListener.h"
#include "MouseSubject.h"

//tool
#include "Logger.h"


class HumanPlayer : public ChessPlayer
{
public:
	HumanPlayer(void);
	virtual ~HumanPlayer(void);

	//response the mouse left button click
	virtual void	ResponseLeftClk(const BoardCoord& currPoint);
private:
	bool			MakeOneMove(const BoardCoord& dest);

private:
	bool				m_bHasSelectChessMan;
	BoardCoord			m_CurrSelectChessMan;
};


#endif

